package com.medical.view.wicket.ajax.html;

import java.util.Date;

import org.apache.wicket.markup.html.form.TextField;
import org.apache.wicket.model.IModel;
import org.apache.wicket.validation.validator.RangeValidator;

import com.medical.view.wicket.form.MedNumberField;
import com.medical.view.wicket.form.MedYearDateField;

public class MedAjaxYearDateField extends MedYearDateField  {

	public MedAjaxYearDateField(String id) {
		super(id);
		add(new ValidationStyleBehavior ()) ;
		setOutputMarkupId(true);
		add (new RangeValidator(1900,2010));
	}

	 

}
